<!DOCTYPE html>
<html>
    <head>
        <title>Issue 4239: [Firebug Lite] Using ie7-js library crashes IE8</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <script type="text/javascript" src="../../../fbtest/fbtest.js"></script>
        <script type="text/javascript">
        
            FBTest.runTestOnLoad(function()
            {
                var logEntries;
                
                var console = FBTest.getConsoleObject();
                console.clear();
                console.log("Testing");

                var consolePanelNode = FBTest.getPanel("Console").panelNode;
    
                FBTest.wait(
                    function()
                    {
                        logEntries = Firebug.Selector(".logRow-log", consolePanelNode);
                        return logEntries.length == 1;
                    },
                    function()
                    {
                        FBTest.compare(1, logEntries.length, "there is exactly one log entry");
                    }
                );
            });
        
        </script>
        <!--[if lt IE 9]>
        <script type="text/javascript" src="IE9.js"></script>
        <![endif]-->
        <link href="../../../fbtest/fbtest.css" type="text/css" rel="stylesheet"/>
    </head>
    <body>
        <div id="main">
            <header>
                <h1 id="qunit-header"><a href="http://code.google.com/p/fbug/issues/detail?id=4239">Issue 4239</a>: [Firebug Lite] Using ie7-js library crashes IE8</h1>
                <h2 id="qunit-banner"></h2>
                <div id="qunit-testrunner-toolbar"></div>
                <h2 id="qunit-userAgent"></h2>
                <ol id="qunit-tests"></ol>
                <div id="qunit-fixture">test markup</div>
            </header>
            <section id="description">
                <!--
                    The steps to reproduce the test case should be described here in detail.
                 -->
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Load Firebug Lite</li>
                    <li>Load IE9.js</li>
                </ol>
                <h3>Expected Result</h3>
                <ul>
                    <li>The browser should not crash</li>
                </ul>
            </section>
            <footer>
                &lt;Pedro Simonetti&gt;, &lt;pedrosimonetti@gmail.com&gt;
            </footer>
        </div>
    </body>
</html>